﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Statistics.aspx.cs" Inherits="Web.Statistics" %>
<%@ Register TagPrefix="uc1" TagName="TopMenu" Src="TopMenu.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Floor" Src="Floor.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>数据统计</title>
    <link href="js/boxy/stylesheets/boxy.css" rel="stylesheet" type="text/css" />
    <link href="css/style.css" rel="stylesheet" type="text/css" />
    <link href="js/date_input/date_input.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="js/boxy/javascripts/jquery.boxy.js" type="text/javascript"></script>
    <script src="js/module.js" type="text/javascript"></script>
    <script src="js/date_input/jquery.date_input.pack.js" type="text/javascript"></script>
    <script src="js/date_input/Date_Format.js" type="text/javascript"></script>
    <script src="js/progressbar/jquery.progressbar.min.js" type="text/javascript"></script>
</head>
<body>
<uc1:TopMenu id='menu1' runat='server'></uc1:TopMenu>
<div id="main">
    <form id="form1" runat="server">
    <div id="block">
    <h3 id="blocktitle">筛选条件</h3>
    <div id="blockcontent" class="filter">
          按科目统计：
          <asp:CheckBoxList ID="SubjectList" runat="server" RepeatDirection="Horizontal" RepeatLayout="Table" RepeatColumns="5">
          </asp:CheckBoxList>
           按状态统计：<asp:CheckBoxList ID="StatusList" runat="server" RepeatDirection="Horizontal" RepeatLayout="Table" RepeatColumns="5">
          </asp:CheckBoxList>
          按日期统计：<asp:TextBox ID="StartDate" runat="server" Columns="12"></asp:TextBox> - <asp:TextBox ID="EndDate" runat="server" Columns="12"></asp:TextBox><asp:Button ID="Button1" runat="server" Text="统计" /></div>
        
    </div>
    <div class="cls"></div>
    <div id="block">
    <h3 id="blocktitle">统计结果</h3>
    <div id="blockcontent" class="lineStyle">
    <asp:Label ID="AllCountLabel" runat="server"></asp:Label>
    </div>
    <div id="blockfloor"></div>
    </div>
    <div class="cls"></div>
    </form>
</div>
<script type="text/javascript">
    $("#StartDate").date_input();
    $("#EndDate").date_input();
    function ShowDetail(StatusId, SubjectId) {
        ShowIframe("StatisticsDetail.aspx?StartDate=" + $("#StartDate").val() + "&EndDate=" + $("#EndDate").val() + "&SubjestId=" + SubjectId + "&StatusId=" + StatusId, "统计详情", 600, 400);
    }
</script>
<uc1:Floor id='Floor1' runat='server'></uc1:Floor>
</body>
</html>
